<template>
  <li :class="['dropdown-option', { 'is-disabled': disabled }]">
    <slot></slot>
  </li>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  props: {
    disabled: {
      type: Boolean,
      default: false,
    },
  },
});
</script>
<style lang="less">
.dropdown-option.is-disabled * {
  pointer-events: none;
  color: #6c757d;
  background-color: transparent;
}
</style>
